dojo.subscribe("LoginSuccessful", function() {
   window.location.reload(true);
});